package com.four.reimbursemanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 支付申请对象 payapply
 * 
 * @author lwy
 * @date 2024-09-13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("payapply")
public class Payapply
{

    /** 编号 */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /*工号*/
    private String number;

    /** 申请部门 */
    private String department;

    /** 经办人 */
    private String transactor;

    /** 收款人 */
    private String payee;

    /** 付款金额 */
    private String paymoney;

    /** 类型 */
    private String type;

    /** 月份 */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date month;

    /** 审核状态 */
    private Integer state;


}
